STEP 6: Let's change the star's location.

Notice that the star has 5 parameters. 4 are integers, and 1 is a string. We'll use these parameters to change the appearance of the star shape on the stage.

  • Change the star's x parameter to 50.
  • Change the star's y parameter to 50.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)